﻿<Page x:Class="JDKD.BMCS.AppUI.CameraPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
	Title="FrontAeraPage" Width="452" Loaded="Page_Loaded" FontSize="24">

    <Grid Name="RootGrid">
                <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Button Content="推钢启动" HorizontalAlignment="Left"  Name="PushButton" VerticalAlignment="Center" FontSize="24" Margin="16" Grid.Row="4" Background="{x:Null}" Foreground="AliceBlue" Click="PushButton_Click" />
                <Button Content="推钢复位" HorizontalAlignment="Right"  Name="ResetButton" VerticalAlignment="Center" FontSize="24" Grid.Column="1" Margin="16" Grid.Row="4" Background="{x:Null}" Foreground="AliceBlue" Click="ResetButton_Click" />
                <TextBlock HorizontalAlignment="Left" Margin="0,16,16,16" Name="textBlock1" Text="摄像机" VerticalAlignment="Center" Background="{x:Null}" Foreground="AliceBlue" FontSize="24" />
                <TextBlock HorizontalAlignment="Right" Margin="16" Name="textBlock2" Text="{Binding CurrentCamera.Id}" VerticalAlignment="Center" Grid.Column="1" Background="{x:Null}" Foreground="AliceBlue" FontSize="36" />
                <Image Grid.Row="2" Height="64" HorizontalAlignment="Left" Margin="16,8" Name="FocalDistanceIncreaseButton" Stretch="Fill" VerticalAlignment="Center" Width="64" Source="/JDKD.BMCS.AppUI;component/Images/GreenUp.png" MouseDown="FocalDistanceIncreaseButton_MouseDown" />
                <Image Grid.Column="1" Grid.Row="2" Height="64" HorizontalAlignment="Right" Margin="16,8" Name="FocalDistanceDecreaseButton" Stretch="Fill" VerticalAlignment="Center" Width="64" Source="/JDKD.BMCS.AppUI;component/Images/GreenDown.png" MouseDown="FocalDistanceDecreaseButton_MouseDown" />
                <Image Grid.Row="3" Height="64" HorizontalAlignment="Left" Margin="16,8" Name="FocusIncreaseButton" Stretch="Fill" VerticalAlignment="Center" Width="64" Source="/JDKD.BMCS.AppUI;component/Images/BlueUp.png" MouseDown="FocusIncreaseButton_MouseDown" />
                <Image Grid.Column="1" Grid.Row="3" Height="64" HorizontalAlignment="Right" Margin="16,8" Name="FocusDecreaseButton" Stretch="Fill" VerticalAlignment="Center" Width="64" Source="/JDKD.BMCS.AppUI;component/Images/BlueDown.png" MouseDown="FocusDecreaseButton_MouseDown" />
                <Image Grid.Row="1" Height="64" HorizontalAlignment="Left" Margin="16,8" Name="ApertureIncreaseButton" Stretch="Fill" VerticalAlignment="Center" Width="64" Source="/JDKD.BMCS.AppUI;component/Images/RedUp.png" MouseDown="ApertureIncreaseButton_MouseDown" />
                <Image Grid.Column="1" Grid.Row="1" Height="64" HorizontalAlignment="Right" Margin="16,8" Name="ApertureDecreaseButton" Stretch="Fill" VerticalAlignment="Center" Width="64" Source="/JDKD.BMCS.AppUI;component/Images/RedDown.png" MouseDown="ApertureDecreaseButton_MouseDown" />
                <TextBlock Grid.ColumnSpan="2" Grid.Row="2" HorizontalAlignment="Center" Name="textBlock3" Text="焦距" VerticalAlignment="Center" FontSize="24" Background="{x:Null}" Foreground="AliceBlue" />
                <TextBlock Grid.ColumnSpan="2" Grid.Row="3" HorizontalAlignment="Center" Name="textBlock4" Text="聚焦" VerticalAlignment="Center" FontSize="24" Background="{x:Null}" Foreground="AliceBlue" />
                <TextBlock Grid.ColumnSpan="2" Grid.Row="1" HorizontalAlignment="Center" Name="textBlock5" Text="光圈" VerticalAlignment="Center" FontSize="24" Background="{x:Null}" Foreground="AliceBlue" />
        </Grid>
</Page>
